package com.ifp.weixin.MessageMng.Dao.resp.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.orm.hibernate3.HibernateTemplate;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Service;

import com.ifp.weixin.MessageMng.Dao.resp.RespArticleInfoDefineDao;

import com.ifp.weixin.MessageMng.Message.resp.RespArticleInfoDefine;
@Service("respArticleInfoDefineDao")
public class RespArticleInfoDefineDaoImpl implements RespArticleInfoDefineDao {

	private HibernateTemplate hibernateTemplate;

	public List<RespArticleInfoDefine> getArticles() {
		// TODO Auto-generated method stub
		return null;
	}
	public RespArticleInfoDefine loadById(long id) {
		// TODO Auto-generated method stub
		
		return this.hibernateTemplate.load(RespArticleInfoDefine.class, id);
	}
	public void save(RespArticleInfoDefine u) {
		// TODO Auto-generated method stub
		
	}
	public HibernateTemplate getHibernateTemplate() {
		return hibernateTemplate;
	}
	@Resource
	public void setHibernateTemplate(HibernateTemplate hibernateTemplate) {
		this.hibernateTemplate = hibernateTemplate;
	} 
	

}
